package com.ethan.cj.ssm.service;

import com.ethan.cj.ssm.entity.Credit;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

public interface CreditService {

    /**
     * 分页查询
     * @param page
     * @param limit
     * @param mname
     * @return
     */
    Map<Object, Object> getCreditList(int page, int limit, Map<String, Object> mname);

    Credit selectCreditCid(int cid,int state);
}
